import request from "@/utils/request";

// 获取平均值
export function flowLineAverage(params) {
  return request({
    url: "/zk/baseData/flowLineAverage",
    method: "GET",
    params: params,
  });
}

// 获取最大值
export function flowLineMax(params) {
  return request({
    url: "/zk/baseData/flowLineMax",
    method: "GET",
    params: params,
  });
}
// 获取最小值
export function flowLineMin(params) {
  return request({
    url: "/zk/baseData/flowLineMin",
    method: "GET",
    params: params,
  });
}

// 获取baseData数据列表
export function getBaseDataList(params) {
  return request({
    url: "/zk/baseData/list",
    method: "get",
    params:params
  })
}

export function getDBIhra(params) {
  return request({
    url: "/zk/baseData/ihra/list",
    method: "get",
    params:params
  })
}

export function getDBIhrb(params) {
  return request({
    url: "/zk/baseData/ihrb/list",
    method: "get",
    params:params
  })
}

export function getDBIhrc(params) {
  return request({
    url: "/zk/baseData/ihrc/list",
    method: "get",
    params:params
  })
}

export function getDBIhrja(params) {
  return request({
    url: "/zk/baseData/ihrja/list",
    method: "get",
    params:params
  })
}

export function getDBIhrjb(params) {
  return request({
    url: "/zk/baseData/ihrjb/list",
    method: "get",
    params:params
  })
}

export function getDBIhrjc(params) {
  return request({
    url: "/zk/baseData/ihrjc/list",
    method: "get",
    params:params
  })
}

export function getDBUhra(params) {
  return request({
    url: "/zk/baseData/uhra/list",
    method: "get",
    params:params
  })
}

export function getDBUhrb(params) {
  return request({
    url: "/zk/baseData/uhrb/list",
    method: "get",
    params:params
  })
}
export function getDBUhrc(params) {
  return request({
    url: "/zk/baseData/uhrc/list",
    method: "get",
    params:params
  })
}
export function getDBUhrja(params) {
  return request({
    url: "/zk/baseData/uhrja/list",
    method: "get",
    params:params
  })
}

export function getDBUhrjb(params) {
  return request({
    url: "/zk/baseData/uhrjb/list",
    method: "get",
    params:params
  })
}
export function getDBUhrjc(params) {
  return request({
    url: "/zk/baseData/uhrjc/list",
    method: "get",
    params:params
  })
}

export function getAllIndicators (params) {
  return request({
    url: "/db/all",
    method: "get",
    params:params
  });
}

export function getIhr(params){
  return request({
    url: "/zk/baseData/dbIhr/list",
    method: "get",
    params:params
  })
}

export function getIhrj(params){
  return request({
    url: "/zk/baseData/dbIhrj/list",
    method: "get",
    params:params
  })
}

export function getUhr(params){
  return request({
    url: "/zk/baseData/dbUhr/list",
    method: "get",
    params:params
  })
}

export function getUhrj(params){
  return request({
    url: "/zk/baseData/dbUhrj/list",
    method: "get",
    params:params
  })
}


